package com.edu.mapper;

import com.edu.bean.Book;
import com.edu.bean.Writer;
import com.edu.bean.WriterExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WriterMapper {
    long countByExample(WriterExample example);

    int deleteByExample(WriterExample example);

    int deleteByPrimaryKey(Integer writerid);

    int insert(Writer row);

    int insertSelective(Writer row);

    List<Writer> selectByExample(WriterExample example);

    Writer selectByPrimaryKey(Integer writerid);

    int updateByExampleSelective(@Param("row") Writer row, @Param("example") WriterExample example);

    int updateByExample(@Param("row") Writer row, @Param("example") WriterExample example);

    int updateByPrimaryKeySelective(Writer row);

    int updateByPrimaryKey(Writer row);

    Writer selectByName(String writername);


}